home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / COMMUNIC / 0558.ZIP / SUMACS.DOC < prev    next >
Text File  |  1985-12-10  |  10KB  |  267 lines

  1.                      SUPERMACS USER'S GUIDE
  2.  
  3.      SUPER  MACS  lets  you redefine  your  keyboard,  write  the 
  4. current  screen out to an ASCII file,  print concurrently in  DOS 
  5. 3.0 or greater,  and load and save files of keyboard macros  from 
  6. within  other applications.   After it has been run,  SUPER  MACS 
  7. terminates  and  remains resident in  memory.   Then,  simply  by 
  8. pressing a couple of keys,  you can call up the menu of  commands 
  9. from within most any program.
  10.      To load SUPER MACS, first insert you SUPER MACS floppy disk, 
  11. then run the program SMACS from that floppy disk as you would any 
  12. ordinary  program.   SUPER  MACS  will  show  that  it  has  been 
  13. activated, then you will return to DOS.
  14.      After you have run the program SMACS, you can activate SUPER 
  15. MACS  main menu by holding down the ALT key,  then  pressing  the 
  16. TILDE (~) while still holding ALT.   When the menu is visible  on 
  17. the screen,  you can reposition it by using the arrow keys on the 
  18. numeric keypad.  
  19.      The  SUPER MACS menu offers you eight choices  of  commands.  
  20. Eight words represent the eight available commands.   These words 
  21. are as follows:
  22.  
  23. (D)efine                 - Define a keyboard macro.
  24. (L)oad                   - Load a disk file of keyboard macros.
  25. (M)erge                  - Merge a file of macros.
  26. (S)ave                   - Save current macros to a file.
  27. (C)lear                  - Erase all current macros.
  28. (W)riteScreen            - Write the current screen to a file.
  29. (P)rint                  - Print a file in DOS 3.0 or greater.
  30. (Q)uit                   - Quit and return from SUPER MACS.
  31.  
  32.      When the menu appears,  you are presented with the words and 
  33. the  prompt "Choice>".   To execute any available command  simply 
  34. type  in the first letter of the corresponding  word.   You  will 
  35. then be prompted through the rest of the command.
  36.      Following,   you   will  find  instructions  on  using  each 
  37. available command.
  38.  
  39.  
  40. Command word:  Define
  41.  
  42. You type:      D
  43.  
  44. Purpose:       Defines a single key as one or many other keys.
  45.  
  46. Usage:              After summoning the menu,  type D for define.  
  47.                SUPER  MACS  will  then prompt you for  a  key  to 
  48.                define.  At this point, simply strike the key that 
  49.                you want to define.   If you change your mind  and 
  50.                don't  want  to define a key,  holding  Ctrl  then 
  51.                typing  the key with number 2 and the @  character 
  52.                will return you to the menu.
  53.                     After you strike a key to define, you will be 
  54.                asked  to enter the expansion.   The expansion  is 
  55.                up  to  one thousand keystrokes that you  want  to 
  56.                replace  the  key when it is subsequently  struck.  
  57.                When  entering the expansion,  you can  enter  any 
  58.                keys  just as you would type them.   Non-printable 
  59.                keys  will  appear as  highlighted  characters  or 
  60.                numbers.   Since  you can place a back-space in  a 
  61.                macro,  the  back space will not act as an editing 
  62.                key.   Instead,  to erase one previous  character, 
  63.                you must hold ALT then enter the left parentheses.  
  64.                To  erase  everything in a macro and return it  to 
  65.                its  original  value,  hold ALT then  press  right 
  66.                parentheses.   When  you are finished  typing  the 
  67.                expansion,  holding Ctrl and pressing the key with 
  68.                2 and @ will return you to the main menu.
  69.  
  70.  
  71. Command word:  Load
  72.  
  73. You type:      L
  74.  
  75. Purpose:       Loads a previously saved file of keyboard macros.
  76.  
  77. Usage:              To  load a macro file,  first type L.   SUPER 
  78.                MACS  will then ask you for a macro file to  read.  
  79.                Simply  enter an existing macro file  name,  along 
  80.                with disk drive and path information if necessary, 
  81.                then  hit return.   SUPER MACS will then erase all 
  82.                current keyboard macros and activate the  keyboard 
  83.                definition  which  is  stored in the  named  macro 
  84.                file.
  85.  
  86.  
  87. Command word:  Merge
  88.  
  89. You type:      M
  90.  
  91. Purpose:       Merges a previously saved file of keyboard  macros 
  92.                with  the currently defined macros.   If a key  is 
  93.                defined both currently and in the file, it will be 
  94.                overwritten by the file definition.
  95.  
  96. Usage:              Merge  works almost exactly the same as  load 
  97.                except that the current macros are not erased.
  98.  
  99.  
  100.  
  101. Command word:  Save
  102.  
  103. You type:      S
  104.  
  105. Purpose:       Saves  all current macros to a disk file for later 
  106.                recall with the Load or Merge commands.
  107.  
  108. Usage:              To  save  a file of macros,  simply  type  S.  
  109.                SUPER  MACS will then ask you for a file  name  to 
  110.                write.   Enter the name of the file you wish to be 
  111.                saved,  along  with drive and path information  if 
  112.                necessary,  then  hit return.   All current macros 
  113.                will be saved in the file and if a file with  that 
  114.                name already exists, it will be overwritten.
  115.  
  116.  
  117.  
  118. Command word:  Clear
  119.  
  120. You type:      C
  121.  
  122. Purpose:       Clears  all currently defined macros and  restores 
  123.                the keyboard to its original state.
  124.  
  125. Usage:              Type C.   SUPER MACS will ask you if you  are 
  126.                sure  that you want to erase all currently defined 
  127.                macros.  If you type Y, all current macros will be 
  128.                erased.   If  instead of erasing all  macros,  you 
  129.                simply  want to temporarily disable  macros,  just 
  130.                hold  ALT  and strike  the  single  quotes.   This 
  131.                actually toggles macro processing both on and off.  
  132.                When  the  SUPER  MACS menu is  popped  up,  macro 
  133.                processing is always turned on. 
  134.  
  135.  
  136. Command word:  Write
  137.  
  138. You type:      W
  139.  
  140. Purpose:       Writes the current screen (without the SUPER  MACS 
  141.                menu) to an ASCII file.   Non-ASCII characters are 
  142.                ignored.
  143.  
  144. Usage:              Type W.   SUPER MACS will ask you for a  file 
  145.                name.  Enter a file name, including drive and path 
  146.                information if necessary,  then hit return.  SUPER 
  147.                MACS will then write the screen to that file.
  148.  
  149.  
  150.  
  151. Command word:  Print
  152.  
  153. You type:      P
  154.  
  155. Purpose:       Prints  an ASCII file while you continue to  work.  
  156.                Works with DOS 3.0 or greater only.
  157.  
  158. Usage:              Type  P.   SUPER MACS will ask you for a file 
  159.                name  to print.   Enter the file name then return.  
  160.                Include drive and path inforrmation if  necessary.  
  161.                The file will start printing and you may return to 
  162.                your previous work.
  163.                     Before using this command,  you must  install 
  164.                the DOS PRINT utility.
  165.  
  166.  
  167.  
  168. Command word:  Quit
  169.  
  170. You type:      Q
  171.  
  172. Purpose:       Returns   you  to  the  program  that  SUPER  MACS 
  173.                interrupted.
  174.  
  175. Usage:         Enter Q.
  176.  
  177.  
  178.  
  179.      We have included two macro files.  The first,  DOS.MAC  contains a
  180. few pre-defined macros to make DOS a little easier.   Their definitions
  181. follow:
  182.  
  183.      ALT-D  =  dir
  184.      ALT-E  =  erase , ( del )
  185.      ALT-P  =  path
  186.      ALT-C  =  copy
  187.      ALT-R  =  ren
  188.      ALT-F  =  find
  189.      HOME   =  F5          { edit on new line }
  190.      END    =  F3          { restores previous line }
  191.  
  192.      CTL-RIGHT ARROW = F3  { restores previous line }
  193.      CTL-LEFT ARROW  = Esc { rejects current line }
  194.  
  195.      The   second,  TURBO.MAC  has some more  interesting  macros  made
  196. specially for Turbo.  They are as follows:
  197.  
  198.      ALT-P  =  Sets up a procedure block.
  199.                To   use   it,   type the name of  the   procedure   (no
  200.                semicolon),  place the cursor on the line with the name,
  201.                and press ALT then "P".
  202.  
  203.      ALT-F  =  Sets up a function block.
  204.                To use it, type the name, a colon (":"), and the type of
  205.                the  function (no semicolon),   place the cursor on  the
  206.                line with the name, and press ALT then "F".
  207.  
  208.      ALT-B  =  Sets up a Begin - end block.
  209.                To use it,  position the cursor where you want the Begin
  210.                to appear, then press ALT-B.
  211.  
  212.      ALT-T  =  Indents two spaces, backs up two spaces, then moves down
  213.                to   the next line.    It is very  useful  for indenting
  214.                large blocks.
  215.  
  216.      ALT-Y  =  Deletes  two characters then moves down one  line.  Very
  217.                useful for undenting large blocks.
  218.  
  219.      ALT-I  =  If  then, (try it).
  220.  
  221.      ALT-W  =  While  do, (try it).
  222.  
  223.      ALT-=  =  press ALT then the EQUAL sign and you get  := .
  224.  
  225.      ALT-C  =  Sets up a case block.
  226.                To use it, move to an empty line, then press ALT-C
  227.  
  228.      ALT-E  =  else , (try it)
  229.  
  230.      ALT-V  =  Sets up the beginning of a Var declaration (try it)
  231.  
  232.      Before  using  the macros for Turbo,   make sure that  insert mode
  233. is on.
  234.  
  235.      To load a macro file:
  236.  
  237.           1. Log onto the TURBO PROFFESSIONAL disk.
  238.  
  239.           2. Type SMACS, then hit RETURN.
  240.  
  241.           3. After Super Macs loads, Press ALT and Tilde.
  242.  
  243.           4. Type "L" for load.
  244.  
  245.           5. Type in file name, then RETURN.
  246.  
  247.      To define a macro:
  248.  
  249.           1. First load Super Macs.
  250.  
  251.           2. Get to the Super Macs menu with Alt and Tilde (~).
  252.  
  253.           3. Type 'D' for define.
  254.  
  255.           4. Strike the key to define.
  256.  
  257.           5. Type the replacement keys, using Alt-( to backspace
  258.              and Alt-) to erase the whole macro.
  259.  
  260.           6. When finished, type Ctl-@ to conclude.
  261.  
  262.      To toggle macro processing type Alt,  then press the double  quote
  263. (").
  264.  
  265.  
  266.  
  267.